home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / commands / pfillandline.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-04  |  1.1 KB  |  47 lines

  1. /*
  2.  *--- PFillAndLine.cpp ----------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PFillAndLine.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PFillAndLine.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15.  
  16. PFillAndLine::PFillAndLine
  17.   (    short cFillStyle,
  18.     const char * sFillColor,
  19.     PMBool  bFillOverprint,
  20.     short cLineStyle,
  21.     short bReverse,
  22.     short dWeight,
  23.     PMBool  bOpaque,
  24.     const char * sLineColor,
  25.     PMBool  bLineOverprint,
  26.     short nFillTint,
  27.     short nLineTint)
  28. {
  29.     PRequestBuf request(strlen(sFillColor) + strlen(sLineColor) + 32);
  30.     
  31.     request << cFillStyle
  32.             << sFillColor
  33.             << bFillOverprint
  34.             << cLineStyle
  35.             << bReverse
  36.             << dWeight
  37.             << bOpaque
  38.             << sLineColor
  39.             << bLineOverprint
  40.             << nFillTint
  41.             << nLineTint;
  42.     
  43.     PCommand command(pm_fillandline, request);
  44. }
  45.  
  46. // end of PFillAndLine.cpp
  47.